using KernelSyntaxExample.Skills;
using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.Orchestration;

namespace KernelSyntaxExample;

public class Example01 {
    public async Task RunAsync() {
        var kernel = new KernelBuilder().Build();

        // Load native skill
        var text = kernel.ImportSkill(new TextSkill());

        var result = await kernel.RunAsync(
            "    i n f i n i t e     s p a c e     ", text["LStrip"],
            text["RStrip"], text["Uppercase"]);

        Console.WriteLine(result);
    }
}